package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IDeviceDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class DeviceDataJob {

    @Autowired
    private IDeviceDataService deviceDataService;

    /**
     * 定时删除设备数据
     */
    public void deleteDeviceData() {
        deviceDataService.deleteDeviceData();
    }
}
